﻿<Window x:Class="SLG.GenericGame.Designer.MainWindow"
		xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
		xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
		xmlns:ds="clr-namespace:SLG.GenericGame.Designer"
		Title="Game Designer" Height="540" Width="900" WindowStartupLocation="CenterScreen">
	<Window.Resources>
		<ResourceDictionary Source="Styles/Default.xaml"></ResourceDictionary>
	</Window.Resources>
	<Grid Background="{StaticResource GridBackground}">
		<DockPanel>
			<Menu DockPanel.Dock="Top">
				<MenuItem Header="文件(_F)">
					<MenuItem Header="退出(_x)" Click="Exit_Click" />
				</MenuItem>
				<MenuItem Header="帮助(_H)">
					<MenuItem Header="关于(_A)..." />
				</MenuItem>
			</Menu>
			<ToolBarTray Name="toolContainer" DockPanel.Dock="Top">
				<ToolBar>
					<Button ToolTip="保存" Click="SaveButton_Click">
						<Image Source="Resources/Save.gif"></Image>
					</Button>
				</ToolBar>
			</ToolBarTray>
			<StatusBar DockPanel.Dock="Bottom" Height="22"></StatusBar>
			<Grid Height="Auto" Margin="5,5,5,5">
				<TabControl x:Name="tab">
					<TabItem x:Name="settingsTab" Header="全局设置">

					</TabItem>
					<TabItem x:Name="characterTab" Header="角色编辑">
						<ds:CharacterPage x:Name="characterPage"></ds:CharacterPage>
					</TabItem>
					<TabItem x:Name="mapTab" Header="地图编辑">

					</TabItem>
					<TabItem x:Name="scriptTab" Header="剧本设计">

					</TabItem>
				</TabControl>
			</Grid>
		</DockPanel>
	</Grid>
</Window>
